<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <!--  1.修饰符 lazy-->
  <input type="text" v-model.lazy="message">
  {{message}}
  <!--  2.修饰符 number-->
  <input type="number" v-model.number="number">
  <h2>{{typeof number}}</h2>
  <!--  3.修饰符 trim-->
  <input type="text" v-model.trim="trim">
  <h2>1:{{trim}}</h2>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
<script>
  const app = new Vue({
    el: "#app",
    data: {
      message: 'ssss',
      number: '',
      trim: ''
    }
  })
</script>
</body>
</html>
